using System;
using System.Collections.Generic;
using System.Text;

namespace Widgetsphere.Core.Attributes
{
  [AttributeUsage(AttributeTargets.Property)]
  public partial class DataSetting : System.Attribute
  {
    protected string _name = "";
    protected int _sortOrder = 0;
    protected bool _visible = false;

    public DataSetting(bool visible)
    {
      _visible = visible;
    }

    public DataSetting(string name, bool visible, int sortOrder)
    {
      _name = name;
      _visible = visible;
      _sortOrder = sortOrder;
    }

    public string Name
    {
      get { return _name; }
    }

    public int SortOrder
    {
      get { return _sortOrder; }
    }

    public bool Visible
    {
      get { return _visible; }
    }

  }
}